package com.company.cloud.page.modules.mgr.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.company.cloud.common.bean.LoginSimpleUserInfo;
import com.company.cloud.page.modules.cache.models.WebPageComponentModel;
import com.company.cloud.page.modules.cache.models.WebPageConfigModel;
import com.company.cloud.page.modules.mgr.controller.req.WebPageComponentUpdateParam;
import com.company.cloud.page.modules.mgr.controller.req.WebPageConfigAdd2EditParam;
import com.company.cloud.page.modules.mgr.controller.req.WebPageConfigQuery4PageParam;
import com.company.cloud.page.modules.mgr.controller.req.WebPageConfigUpDownParam;

public interface WebPageConfigMgrService {


    //配置页面
    public IPage<WebPageConfigModel> query(WebPageConfigQuery4PageParam params,LoginSimpleUserInfo userInfo);

    public void save(WebPageConfigAdd2EditParam params,LoginSimpleUserInfo userInfo);

    public void update(WebPageConfigAdd2EditParam params,LoginSimpleUserInfo userInfo);

    public void del(String pageNo, LoginSimpleUserInfo userInfo);

    public WebPageConfigModel info(String pageNo);

    public void updown(WebPageConfigUpDownParam params,LoginSimpleUserInfo userInfo);

    //页面组件
    public WebPageComponentModel pageComponentUpdate(WebPageComponentUpdateParam params,LoginSimpleUserInfo userInfo);

    public WebPageComponentModel pageComponentInfo(String pageComponentNo);

    public void pageComponentDel(String pageComponentNo,LoginSimpleUserInfo userInfo);

    //页面生成
    public String getPageContent(String pageNo,boolean isDev);





}
